/*
 * ADC.h
 *
 *  Created on: 09-02-2012
 *      Author: Mati
 */
#ifdef __USE_CMSIS
#include "LPC17xx.h"
#endif

#include "FreeRTOS.h"
#include "../LED/LED.h"
#include "queue.h"
#include "semphr.h"
#include "portmacro.h"
#include "../Tasks/ApplicationTasks.h"



#ifndef ADC_H_
#define ADC_H_

__INLINE void ADC_Config(void);
void ADC_IRQHandler(void);
float AverageValue(uint32_t *table);
uint32_t max(uint32_t *tab);
uint32_t min(uint32_t *tab);

#endif /* ADC_H_ */
